EXAMPLES = example1 example2 example3 example4
PKGS = --pkg gtk+-2.0 --pkg hildon-1

all: $(EXAMPLES)

example1: example1.vala
	valac $(PKGS) example1.vala -o example1

example2: example2.vala
	valac $(PKGS)  example2.vala -o example2

example3: example3.vala example3_combo.vala
	valac $(PKGS) example3.vala example3_combo.vala -o example3

example4: example4.vala
	valac $(PKGS) --pkg pango example4.vala -o example4

clean:
	rm -f $(EXAMPLES)

